﻿<!DOCTYPE html>
<style type="text/css">
    body { font-size: 20px; }
</style>
<div>
    <font dir="rtl"><a href="#">12 <b id="test">34 </b><b>56 </b><span><a href="#">78 </a></span></font>
</div>
<script src="../../../resources/js-test.js"></script>
<script src="resources/nodesFromRect.js"></script>
<script type="text/javascript">
    description('Test to get the node as a result of hit-tests from culled inlines between siblings');

    if (window.internals) {
        var test = document.getElementById('test');
        
        checkRect(test.offsetLeft - 8, test.offsetTop + 4, 2, 2, "'56 '");
        checkRect(test.offsetLeft + 8, test.offsetTop + 4, 2, 2, "'34 '");
        checkRect(test.offsetLeft + test.offsetWidth + 8, test.offsetTop + 4, 2, 2, "'12 '");
    }
</script>
